﻿using System;
using System.Collections.Generic;

namespace YaAppoint.ExamItems
{
    public class ExamItemDto
    {
        public Guid? Id { get; set; }

        public string Name { get; set; }

        public string? Code { get; set; }

        public string OuterCode { get; set; }

        public bool IsActive { get; set; }

        public long Order { get; set; } = 0;

        public bool IsDirectory { get; set; }

        public ApplicableSex ApplicableSex { get; set; }

        public Guid DeviceTypeId { get; set; }

        public string? DeviceTypeName { get; set; }

        public Guid? ParentId { get; set; }

        public string? ParentName { get; set; }

        public string? Icon { get; set; }

        public List<ExamItemDto>? Children { get; set; }

        public List<Guid>? Devices { get; set; }

        public bool RequireInterval { get; set; }

        public TimeSpan? StartTime { get; set; }

        public TimeSpan? EndTime { get; set; }

        public float? Workload { get; set; }
    }
}
